<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>文章列表--layui后台管理模板 2.0</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="../../css/public.css" media="all" />
		<style>
			#QRcode:after {
				content: "二维码"
			}
		</style>
	</head>

	<body class="childrenBody">
		<form class="layui-form layui-row layui-col-space10">
			<div class="layui-col-md8 layui-col-md-offset2">
				<div class="layui-row layui-col-space10">
					<div class="layui-col-md8">
						<div class="layui-form-item magt3">
							<label class="layui-form-label">农场名称</label>
							<div class="layui-input-block">
								<input type="text" class="layui-input name" lay-verify="newsName" placeholder="请输入农场名称">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">农场描述</label>
							<div class="layui-input-block">
								<textarea placeholder="请输入农场描述" class="layui-textarea describe"></textarea>
							</div>
						</div>
					</div>
					<div class="layui-col-md2 layui-col-xs3">
						<div class="layui-upload-list thumbBox mag0 magt3" id="image">
							<img class="layui-upload-img thumbImg image">
						</div>
					</div>
					<div class="layui-col-md2 layui-col-xs3">
						<div class="layui-upload-list thumbBox mag0 magt3" id="QRcode">
							<img class="layui-upload-img thumbImg QRcode">
						</div>
					</div>
				</div>

				<div class="layui-form-item">
					<label class="layui-form-label">农场分类</label>
					<div class="layui-input-block farmCategoryInput">
						<!--<input type="radio" name="farmCategory" title="果类农场" lay-skin="primary" />
						<input type="radio" name="farmCategory" title="经济作物农场" lay-skin="primary" />
						<input type="radio" name="farmCategory" title="粮食作物农场" lay-skin="primary" />-->
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">权限设置</label>
					<div class="layui-input-block authorityInput">
						<!--<input type="radio" name="authority" title="高级权限" lay-skin="primary" />
						<input type="radio" name="authority" title="中级权限" lay-skin="primary" />
						<input type="radio" name="authority" title="低级权限" lay-skin="primary" />-->
					</div>
				</div>

				<div class="layui-form-item">
					<label class="layui-form-label">设备添加</label>
					<div class="layui-input-inline">
				        <select class="equipmentInput" name="modules" lay-filter="equipmentInput" lay-search="">
				          <!--<option value="">直接选择或搜索选择</option>
				          <option value="1">layer</option>
				          <option value="2">form</option>
				          <option value="3">layim</option>
				          <option value="4">element</option>
				          <option value="5">laytpl</option>
				          <option value="6">upload</option>
				          <option value="7">laydate</option>
				          <option value="8">laypage</option>
				          <option value="9">flow</option>
				          <option value="10">util</option>
				          <option value="11">code</option>
				          <option value="12">tree</option>
				          <option value="13">layedit</option>
				          <option value="14">nav</option>
				          <option value="15">tab</option>
				          <option value="16">table</option>
				          <option value="17">select</option>
				          <option value="18">checkbox</option>
				          <option value="19">switch</option>
				          <option value="20">radio</option>-->
				        </select>
				        
				      </div>
					
					<div class="layui-input-inline">
			
						<button class="layui-btn addEquipment_btn" type="button">添加</button>
						<button class="layui-btn deleteEquipment_btn" type="button">删除</button>
				        
				      </div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block layui-elem-quote layui-quote-nm magt10 equipmentRender">
						<!--<input type="checkbox" name="" title="检测器一" lay-skin="primary" checked>
						<input type="checkbox" name="" title="检测器二" lay-skin="primary" checked>
						<input type="checkbox" name="" title="检测器三" lay-skin="primary" checked>
						<input type="checkbox" name="" title="检测器三" lay-skin="primary" checked>
						<input type="checkbox" name="" title="检测器三" lay-skin="primary" checked>-->
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn submitBtn" type="button">保存</button>
					</div>
				</div>
			</div>
		</form>
		<script type="text/javascript" src="../../layui/layui.js"></script>
		<script type="text/javascript" src="farmAdd.js"></script>
	</body>

</html>